package com.xjnt.tvos.tvlibs.jsbridge.data;

/**
 * 参数基类
 * Created by caoyong on 18-1-10.
 */

abstract class BasicParam {

    private String paramName;
    private Class<?> paramClass;

    BasicParam(String paramName, Class<?> paramClass) {
        this.paramName = paramName;
        this.paramClass = paramClass;
    }

    String getParamName() {
        return paramName;
    }

    Class<?> getParamClass() {
        return paramClass;
    }

    abstract Object getValue(DataBuilder dataBuilder);
    abstract void setValue(DataBuilder dataBuilder, Object value);
}
